<nz-modal [(nzVisible)]="maintenanceAndReplaceShow"
          [nzWidth]="560" [nzTitle]="'切换网卡'"
          (nzOnCancel)="handleCancel()"
          (nzOnOk)="handleOk()"
          [nzOkLoading]="isOkLoading"
>
  <form nz-form [formGroup]="formModel">

    <nz-form-item>
      <nz-form-label [nzSpan]="5" nzFor="mobile">设备号</nz-form-label>
      <nz-form-control [nzSm]="15"  [nzXs]="24"  nzErrorTip="请输入新的设备号来替换原先的网卡">
        <input nz-input  formControlName="deviceNo"  placeholder="请输入新的设备号来替换原先的网卡"/>
        <div style="color: red" *ngIf="netCardReplaceStatus != 2">替换旧设备网卡，将旧设备网卡替换到新设备上，该设备号可以不填</div>
      </nz-form-control>
    </nz-form-item>
  </form>
  <!--  </nz-spin>-->
</nz-modal>
